# Generated by Django 2.0.2 on 2018-02-17 23:35

from django.db import migrations, models
import uuid


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Ticket',
            fields=[
                ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
                ('nro_factura', models.CharField(default='SN', max_length=255)),
                ('costo', models.FloatField()),
                ('codigo_de_barras', models.CharField(default='-', max_length=256)),
                ('fecha_emision', models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.CreateModel(
            name='Tienda',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('nombre', models.CharField(default='-', max_length=255)),
                ('departamento', models.CharField(choices=[('LP', 'La Paz'), ('CBBA', 'Cochabamba'), ('SC', 'Santa Cruz'), ('OR', 'Oruro'), ('BE', 'Beni'), ('PA', 'Pando'), ('CH', 'Chuquisaca'), ('TA', 'Tarija'), ('PO', 'Potosí')], default='LP', max_length=2)),
                ('direccion', models.CharField(default='-', max_length=500)),
                ('fecha_de_entrega', models.DateTimeField(auto_now_add=True)),
                ('nit', models.CharField(default='-', max_length=30)),
                ('nro_facturacion', models.CharField(default='-', max_length=30)),
            ],
        ),
    ]
